/**
 * 
 */
package com.hst.web.sys.ui;

import com.hst.core.meta.MetaData;
import com.hst.core.meta.annotation.EField;
import com.hst.core.meta.annotation.EInfo;
import com.hst.core.meta.annotation.FieldQuery;
import com.hst.web.sys.entity.TRole;

/**
 * @author wangyh
 *
 */
@EInfo(name = "role", entity = TRole.class, title = "角色管理|Roles", children = { "role-menu", "role-privilege" })
public class Role extends MetaData {

	@EField(title = "ID", form = 0, validate = "required", list = false)
	private String id;

	@EField(title = "名称|Name", validate = "required", query = FieldQuery.LIKE)
	private String name;

	@EField(title = "角色等级|Role Level", name = "roleLevel", viewer = "dict.userType", editor = "select.userType")
	private String roleLevel;

	public String getRoleLevel() {
		return roleLevel;
	}

	public void setRoleLevel(String roleLevel) {
		this.roleLevel = roleLevel;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
